package com.open.api;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;

@SpringBootApplication(scanBasePackages = "com.open.*",exclude = RedisAutoConfiguration.class)
@EnableDubbo
public class OpenApiApplication {

    private static final Logger logger =  LoggerFactory.getLogger(OpenApiApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(OpenApiApplication.class, args);
        logger.debug("启动成功",
                "   ___      ___     ___     ___    _______    ____    _____  \n" +
                "  / _ \\   / _ \\   / _ \\   / _ \\  |__   __|  / __ \\  |  __ \\ \n" +
                " | (_) | | | | | | (_) | | | | |    | |    | |  | | | |__) |\n" +
                "  > _ <  | | | |  \\__, | | | | |    | |    | |  | | |  ___/ \n" +
                " | (_) | | |_| |    / /  | |_| |    | |    | |__| | | |     \n" +
                "  \\___/   \\___/    /_/    \\___/     |_|     \\____/  |_|     ");

    }

}
